package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingLevelPageQueryDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {


    /**
     * 按条件分页查询
     *
     * @param dto 到
     * @return {@code PageBean<NursingLevelVo> }
     * @author 16203
     */
    PageBean<NursingLevelVo> getNursinglevlsByPage(NursingLevelPageQueryDto dto);

    /**
     * 添加
     *
     * @param nursingLevelDto dto
     * @author 16203
     */
    void add(NursingLevelDto nursingLevelDto);

    /**
     * 按id获取
     *
     * @param id
     * @return {@code NursingLevelVo }
     * @author 16203
     */
    NursingLevelVo getById(Long id);

    /**
     * 更新
     *
     * @param nursingLevelDto 护理水平dto
     * @author 16203
     */
    void update(NursingLevelDto nursingLevelDto);

    /**
     * 删除
     *
     * @param id 身份证件
     * @author 16203
     */
    void delete(Long id);

    /**
     * 更新状态
     *
     * @param id     身份证件
     * @param status 地位
     * @author 16203
     */
    void updateStatus(Long id, Integer status);

    /**
     * 获取全部
     *
     * @return {@code List<NursingLevelVo> }
     * @author 16203
     */
    List<NursingLevel> getAll();
}
